package one.stand.service;

import com.alibaba.fastjson.JSON;
import one.stand.OneCrmServiceApplicationTests;
import one.stand.request.BusinessCardRequest;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.TestConfiguration;

@TestConfiguration
public class BusinessCard  extends OneCrmServiceApplicationTests {
    @Autowired
    BusinessCardService businessCardServices;
    @Test
    public void getCompanyStaffList(){
        BusinessCardRequest request=new BusinessCardRequest();
        request.setCId(1L);
        request.setId(1L);
        request.setPageNum(1);
        request.setPageSize(11);
        System.err.println(JSON.toJSON(businessCardServices.getCompanyStaffList(request)));
    }
}
